package com.example.demo.dto;

import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class CourseDetailsDTO {
    private Integer courseId;
    private String courseName;
    private Integer teacherId;
    private String teacherUsername;
    private LocalDate startTime;
    private LocalDate endTime;
    private String status;
    private String description;
    private List<String> students;

    public CourseDetailsDTO(Integer courseId, String courseName, Integer teacherId, String teacherUsername, 
                           LocalDate startTime, LocalDate endTime, String status, String description, 
                           List<String> students) {
        this.courseId = courseId;
        this.courseName = courseName;
        this.teacherId = teacherId;
        this.teacherUsername = teacherUsername;
        this.startTime = startTime;
        this.endTime = endTime;
        this.status = status;
        this.description = description;
        this.students = students;
    }

    public List<String> getStudents() {
        return students;
    }

    public void setStudents(List<String> students) {
        this.students = students;
    }
}